<include file="../header" title="upload" />
<div class="upload">
    <div class="title">
        <h1>{:L('upload-paper')}</h1>
    </div>

    <div class="form">
        <p class="notify">
            <eq name="lang" value="en-us">
                Please read the note which is at the bottom of this page first.
            <else/>
                请先阅读一下页面底部的注意事项。
            </eq>
        </p>
        <form action="{:U('upload/paper')}" method="post" id="reg-form" enctype="multipart/form-data">
            <div class="field input">
                <label for="field-uid">{:L('id')}</label>
                <input type="text" required name="uid" id="field-uid" class="auto-width" />
            </div>
            <div class="field input">
                <label for="field-passwd">{:L('passwd')}</label>
                <input type="password" required name="password" id="field-passwd" class="auto-width" />
            </div>
            <div class="field input">
                <label for="field-file">{:L('paper')}</label>
                <input type="file" required id="field-file" name="paper" class="auto-width" />
            </div>
            <div class="btns">
                <a href="###" id="fake-submit-btn">{:L('upload')}</a>
                <input type="submit" id="real-submit-btn" value="submit" />
            </div>
        </form>
    </div>
    <div class="note">
        <h1>{:L('note')}:</h1>
        <ol>
            <eq name="lang" value="en-us">
                <li>Please fill the above fields of ID and password which you\'ve got after registration;</li>
                <li>Please read "<a href="{:U('news/view', 'id=7')}" target="_blank">Preparation of the Paper</a>" and make sure your paper meets all requirement before uploading;</li>
                <li>Paper size is limited to 50M and format should be one of "doc,docx,pdf,sty,bst,tex,bib,rar,zip,7z,tar,gz";</li>
                <li>Again submitting which will overwrite the previous version you've submitted to modify the paper.</li>
            <else/>
                <li>请在上方填入您在“会议注册”后得到的用户名和密码；</li>
                <li>上传前请先阅读“<a href="{:U('news/view', 'id=12')}" target="_blank">论文格式</a>”并确保您的论文满足我们的要求；</li>
                <li>论文大小限制为50M，支持的格式为 doc、docx、pdf、sty、bst、tex、bib、rar、zip、7z、tar、gz；</li>
                <li>要修改已提交的论文，只需再次提交即可覆盖前一次的。</li>
            </eq>
        </ol>
    </div>

</div>
<include file="../footer" />
<script type="text/javascript">
    $('#fake-submit-btn').click(function(){
        $('#real-submit-btn').click();
    });
 </script>